$(document).ready(function() {
	$(".tabs > ul").tabs();
	
	$("#logout").click(function(){
		$.get(getRootPath()+"/logout.htm",function(){
			window.location="../../loginPage.htm";
		});
	});
	
	$("#messageLink").click(function(){
		$("#messagePanel").dialog("open");
	});
	
	$( "#messagePanel" ).dialog({
		autoOpen:false,
		width:400,
		height:400,
		modal:true
	});
});